package com.example.saiweisi.mapper.systemAdminMapper;

import com.example.saiweisi.controller.request.DeskRequest;
import com.example.saiweisi.model.Desk;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 28656
* @description 针对表【desk】的数据库操作Mapper
* @createDate 2024-03-31 15:29:24
* @Entity com.example.saiweisi.model.Desk
*/
@Mapper
public interface DeskMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Desk record);

    int insertSelective(Desk record);

    Desk selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Desk record);

    int updateByPrimaryKey(Desk record);

    List<Desk> selectbycountandposition(Desk desk);
    List<Desk> page(DeskRequest chefAdminRequest);
}
